<template>
    <div class="showBody">
        <div v-html="text"></div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            text: null
        };
    },
    mounted() {
        this.text = this.$route.query.content;
        // console.log(this.$refs.text)
    }
};
</script>
<style>
div.showBody{
    margin: 10px 30px;
    background-color: #fff;
    border:1px solid #eee;
    height: 500px;
}
</style>